AIOSEO\Plugin\Common\Utils\Access S

Total Complexity 50
Dependencies 0
Dependents 2
Total lines 340
Lines of code 140
Logical lines of code 80
Comment lines 123
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
removeCapabilities()
A
50 10 27
isAdmin()
A
59 9 15
addCapabilities()
S
53 7 24
hasCapability()
S
56 7 18
can()
S
58 5 16
setRoles()
S
62 4 11
getAllCapabilities()
S
64 2 10
__construct()
S
75 1 4
getCapabilityList()
S
82 1 3
canManage()
S
80 1 3
getNotAllowedOptions()
S
82 1 3
getNotAllowedPageFields()
S
82 1 3
getRoles()
S
82 1 3